package edu.gatech.cs2340.bytebankers.model;

import java.io.Serializable;

/**
 * This class handles all the information of a player in the wagon.
 * @author robert
 *
 */

public class Player implements Serializable {
	
	private String name;
	private double health;
	//public enum sickStatus {GOOD, ILL, DEAD};
	private String sickStatus;
	
	/**
	 * Getter for name
	 * @return Player's name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * Setter for name
	 * @param name Player's name
	 */
	public void setName(String name) {
		this.name = name;
		System.out.println("Set player name to: " + name);
	}
	/**
	 * Getter for health of player
	 * @return Player's health
	 */
	public double getHealth() {
		return health;
	}
	/**
	 * Setter for health of a player
	 * @param health Player's health
	 */
	public void setHealth(double health) {
		this.health = health;
	}
	
	public void setsickStatus(String status){
		this.sickStatus = status;
	}
	
	public String getSickStatus(){
		return this.sickStatus;
	}
}
